<!--{subtemplate common/header_common}-->
</head>

<body id="nv_search" onkeydown="if(event.keyCode==27) return false;">
	<div id="append_parent"></div><div id="ajaxwaitid"></div>
	<div class="mbm">
		<div class="bbs cl">
			<div class="z">
				<span id="navs" class="xg1 showmenu" onmouseover="showMenu(this.id);"><a href="index.php">{lang Return to homepage}</a></span>
			</div>
			<div class="sch y">
				<p>
				<!--{if $_G['uid']}-->
					<strong><a href="index.php?option=member&task=profile" class="vwmy" target="_blank" title="{lang View My Profile}">{$_G[member][username]}</a></strong>
					<span class="pipe">|</span><a href="index.php?option=member&task=notice" id="myprompt"{if $_G[member][newprompt]} class="new"{/if}>{lang Remind}<!--{if $_G[member][newprompt]}-->($_G[member][newprompt])<!--{/if}--></a><span id="myprompt_check"></span>

					<!--{if $_G['group']['allowmanagearticle'] || $_G['group']['allowdiy'] || in_array($_G['uid'], $_G['setting']['ext_portalmanager'])}--><span class="pipe">|</span><a href="index.php?option=portalcp">{lang Portal management}</a><!--{/if}-->
					<span class="pipe">|</span><a href="index.php?option=member&task=logout&formhash={FORMHASH}">{lang Logout}</a>
				<!--{else}-->
					<a href="index.php?option=member&task={$_G[setting][regname]}" onclick="showWindow('register', this.href);hideWindow('login');" class="noborder">$_G['setting']['reglinkname']</a>
					<span class="pipe">|</span><a href="index.php?option=member&task=login" onclick="showWindow('login', this.href);hideWindow('register');">{lang Login}</a>
				<!--{/if}-->
				</p>
			</div>
		</div>
	</div>
	$_G[setting][menunavs]

	<!--{if $_G['setting']['navs']}-->
		<ul class="p_pop h_pop" id="navs_menu" style="display: none">
		<!--{loop $_G['setting']['navs'] $nav}-->
			<!--{eval $nav_showmenu = strpos($nav['nav'], 'onmouseover="showMenu(');}-->
		    <!--{eval $nav_navshow = strpos($nav['nav'], 'onmouseover="navShow(')}-->
		    <!--{if $nav_hidden !== false || $nav_navshow !== false}-->
			<!--{eval $nav['nav'] = preg_replace("/onmouseover\=\"(.*?)\"/i", '',$nav['nav'])}-->
		    <!--{/if}-->
			<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><li $nav[nav]></li><!--{/if}-->
		<!--{/loop}-->
		</ul>
	<!--{/if}-->